<?php
$con=mysqli_connect("localhost","root","admin");
// Check connection
if (mysqli_connect_errno())
  {
  echo "Failed to connect to MySQL: " . mysqli_connect_error();
  }

$sql= "CREATE TABLE HOPEWw.Parent_support_group(
parent_ID INT NOT NULL ,
p_children_Vaccinated  VARCHAR (3) NOT NULL,
p_updated_children_clinic_card VARCHAR(3) NOT NULL,
p_obtained_birth_certicates VARCHAR(3) NOT NULL,
p_any_social_grants VARCHAR(3) NOT NULL,
p_which_social_grants VARCHAR(100) ,
p_exclusive_breast_feeding VARCHAR(3) NOT NULL,
p_balanced_meals VARCHAR(3) NOT NULL,
p_play_reading_time INT NOT NULL,
p_gives_hugs VARCHAR(3) NOT NULL,
p_child_notShops_Alone VARCHAR(3) NOT NULL,


PRIMARY KEY ( parent_ID )
)";
// Execute query
if (mysqli_query($con,$sql))
{
echo "Table Parent Support Group created successfully";
}
else
{
echo "Error creating table: " . mysqli_error($con);
}
?>
